//
//  YDBankCardFormatter.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/20.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface YDBankCardFormatter : NSObject


/**
 *  默认4位数一组，用空格分开
 */
@property (assign, nonatomic) NSInteger groupSize;

/**
 *  分隔符 默认为空格
 */
@property (copy, nonatomic) NSString *separator;



- (void)bankField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;

@end
